<div class="box bh-pj-lyzx bh-ly-yw-lvyou-center-zi">
    <?php $first = array_pop($model);?>
    <h3><?php echo $title?></h3>
    <div class="bh-pj-lyzx-dlul bh-pj-lypd-bnone">
    	<?php if (is_object($first)):?>
        <dl class="bh-ly-yw-j">
            <dt><a href="<?php echo Yii::app()->controller->createUrl('channel/travelView',array('id'=>CHtml::value($first, 'id')))?>" title='<?php echo $first->fullTitle?>'><?php echo $first->img(62,97);?></a></dt>
    		<dd><span class="font_cr4"><?php echo $first->fullTitle;?></span><br>
    		<span class="font_cr4">价格：<b class="font-clr bh-nostrong">￥<?php echo intval(CHtml::value($first, 'priceInfo.price_dealer'))?></b></span>
			<p><?php echo CUtilHelper::string()->msubstr(CHtml::value($first,'profile.vDesc'),0,27);?><a class="font-clr bh-mlt5" href="<?php echo Yii::app()->controller->createUrl('channel/travelView',array('id'=>CHtml::value($first, 'id')))?>">[详细]</a></p>
			</dd>
            <div class="bh-clear"></div>
        </dl>
        <?php endif;?>
    </div>
    <ul>
        <?php $i=1; foreach($model as $one):?>
        <?php if($i%2 != 0):?>
        <li class="bh-yw-one"><img src="<?php echo Yii::app()->baseUrl;?>/images/pj_dian.jpg" />
        <span class="bh-height bh-fr">
        	<?php if ($one->isDealer()):?>
				<span class="bh-ly-agent">代理价：<b class="bh-nostrong font-clr">￥<?php echo intval(CHtml::value($one,'priceInfo.price_agent'));?></b></span>
            <?php endif;?>
            <span class="bh-ly-agent">经销价：<b class="font-clr bh-nostrong">￥<?php echo intval(CHtml::value($one,'priceInfo.price_dealer'));?></b></span>
        </span>
        <a href="<?php echo Yii::app()->controller->createUrl('channel/travelView',array('id'=>CHtml::value($one, 'id')))?>" title='<?php echo $one->fullTitle?>'><?php echo $one->title(16);?></a></li>
        <?php else:?>
        <li><img src="<?php echo Yii::app()->baseUrl;?>/images/pj_dian.jpg" />
        <span class="bh-height bh-fr">
        	<?php if ($one->isDealer()):?>
				<span class="bh-ly-agent">代理价：<b class="bh-nostrong font-clr">￥<?php echo intval(CHtml::value($one,'priceInfo.price_agent'));?></b></span>
            <?php endif;?>
        	<span class="bh-ly-agent">经销价：<b class="font-clr bh-nostrong">￥<?php echo intval(CHtml::value($one,'priceInfo.price_dealer'));?></b></span>
        </span>
        <a href="<?php echo Yii::app()->controller->createUrl('channel/travelView',array('id'=>CHtml::value($one, 'id')))?>" title='<?php echo $one->fullTitle?>'><?php echo $one->title(16);?></a>
        <?php endif;$i++;?>
        <?php endforeach;?>
    </ul>
</div>